package com.hafu.service.impl;

import com.hafu.dao.UserDao;
import com.hafu.service.IUserService;


import java.sql.SQLException;

/**
 * @Author:xiaohai 2072158919@qq.com 海航源
 * @Date: 2024/11/1  下午3:35
 * @Version 1.0
 * @description
 */
public class UserServiceImpl implements IUserService {

    private UserDao userDao = new UserDao();

    @Override
    public Boolean isLogin(String username, String password) throws SQLException {
        boolean isLogin = userDao.isLogin(username,password);
        return isLogin;
    }
}
